#include <iostream>
#include <algorithm>
#include <iomanip>
#include "Date.h"
#include <time.h>
using namespace std;

int main()
{

    Date d1(2017,3,28);
    Date d2(2017,5,1);

    if( d1  > d2 )
       swap(d1,d2);

    cout << "There are " << d2 - d1<<  " days between "
    << d1 << " and " << d2 << endl << endl;

    int i=0;
    for(Date d = d1; d<=d2; ++d )
    {
        cout << i++ << ": " << d <<endl;
    }
}
